package com.online.sessionmanageserver.domain;

import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;
import org.apache.ibatis.annotations.Select;

import java.util.List;

/**
 * @Author: liuqing
 * @Despriction:
 * @Date:Created in 2018/4/28 15:29
 * @Modify By:
 */
@Mapper
public interface UserMapper {
    /**
     * 查询企业id
     *
     * @param agentId
     * @return
     */
    @Select("select company_id from ols_agent where id = #{agentId}")
    List<Integer> getCompanyId(@Param("agentId") int agentId);

}
